<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Message <i>ProbabilisticBroadcastPkt</i></h2>
<b>File: <a href="modules-messages-ProbabilisticBroadcastPkt.msg.html">modules/messages/ProbabilisticBroadcastPkt.msg</a></b><br/><p>(no description)</p><h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-msg-usage-diagram.html">here</a> to see the full picture.</p>
<img src="ProbabilisticBroadcastPkt-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="ProbabilisticBroadcastPkt.html" title="Message ProbabilisticBroadcastPkt" alt="" coords="5,6,176,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-msg-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="ProbabilisticBroadcastPkt-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="ProbabilisticBroadcastPkt.html" title="Message ProbabilisticBroadcastPkt" alt="" coords="5,83,176,111">
<area shape="rect" id="node2" href="NetwPkt.html" title="Packet NetwPkt" alt="" coords="55,6,127,34">
</map>
<h3 class="subtitle">Extends:</h3>
<table>
<tr>
   <td>
      <a href="NetwPkt.html">NetwPkt</a>
      <i> (packet)</i>
   </td>
   <td>

<p>A basic network layer packet definition</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Fields:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Description</th>
   </tr>
<tr class="inherited">
   <td width="150">seqNum</td>
   <td width="100">
      <i>
unsigned long</i>
   </td>
   <td>
<p>sequence number</p>
</td>
</tr>
<tr class="local">
   <td width="150">id</td>
   <td width="100">
      <i>
long</i>
   </td>
   <td>
<p>Unique message ID ~ f(node address, unique number in node scope).</p>
</td>
</tr>
<tr class="local">
   <td width="150">initialSrcAddr</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="local">
   <td width="150">nbHops</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="inherited">
   <td width="150">destAddr</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>destination address</p>
</td>
</tr>
<tr class="local">
   <td width="150">appTtl</td>
   <td width="100">
      <i>
simtime_t</i>
   </td>
   <td>
<p>Message time-to-live set by application.</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">srcAddr</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>source address</p>
</td>
</tr>
<tr class="local">
   <td width="150">finalDestAddr</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="inherited">
   <td width="150">ttl</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>time to live field (IP)</p>
</td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #800000; font-weight: bold; ">message</span><span style="color: #000000; "> </span><span style="color: #000000; ">ProbabilisticBroadcastPkt</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">NetwPkt</span><span style="color: #000000; ">
{
    </span><span style="color: #000080; font-weight: bold; ">long</span><span style="color: #000000; "> </span><span style="color: #000000; ">id</span><span style="color: #000000; ">;    </span><span style="color: #808080; font-style: italic; ">// Unique message ID ~ f(node address, unique number in node scope).
</span><span style="color: #000000; ">    </span><span style="color: #000000; ">simtime_t</span><span style="color: #000000; "> </span><span style="color: #000000; ">appTtl</span><span style="color: #000000; ">;   </span><span style="color: #808080; font-style: italic; ">// Message time-to-live set by application.
</span><span style="color: #000000; ">    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">initialSrcAddr</span><span style="color: #000000; ">;
    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">finalDestAddr</span><span style="color: #000000; ">;
    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">nbHops</span><span style="color: #000000; ">;
}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
